<?php echo form_open('', 'class="form-horizontal" role="form"');?>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right">Name <span class="red"> *</span></label>
        <div class="col-sm-9">
            <?php echo form_input('name', set_value('name'), 'autocomplete="off" class="col-xs-10 col-sm-5"'); ?>
	        <?php echo form_error('name', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
        </div>
    </div>
    <div class="space-4"></div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right">Description</label>
        <div class="col-sm-9">
            <?php echo form_textarea('description', set_value('description'), 'class="col-xs-10 col-sm-5"'); ?>
	        <?php echo form_error('description', '<div class="col-sm-12 no-padding red">', '</div>'); ?>
        </div>
    </div>
    <div class="clearfix form-actions">
        <div class="col-md-offset-3 col-md-9">
            <?php echo anchor(site_url(module_controller('view')),'&larr; Cancel', 'class="btn"');?>
            <button name="btnSave" class="btn btn-info" type="submit">
                <i class="icon-ok bigger-110"></i>Save
            </button>
        </div>
    </div>
<?php echo form_close();?>